<#include "../head_top.ftl">
        <title>
            Native2ascii, Ascii2native
        </title>
        <meta name="description" content="Tool for convert native to ascii character set, or covert ascii to native character set.">
        <meta name="keywords" content="Native2ascii, Ascii2native>
<#include "../head_down.ftl">
    
    <body>
		<#include "/template/common/navigator.ftl">
        <div class="container">
            <div class="row">
                <div class="span10">
                    <div id="listing-post-container">
						<h1>Native2ascii, Ascii2native</h1>
						<p></p>
						<p></p>
						<p></p>
						<p>Tool for convert native to ascii character set, or covert ascii to native character set.</p>
						String:
						<form method="post" action="native2ascii" id="form1">
							<table>
								<tr>
									<td>
										<textarea cols="105" rows="15" name="content">${content!''}</textarea>
									</td>
								</tr>
								<tr>
									<td align="center">
										<input type="hidden" name="action" id="action"/>
										<input type="button" value="Native2ascii" onclick="doSubmit('escape')"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="Ascii2native" onclick="doSubmit('unescape')"/>
									</td>
								</tr>
							</table>
						</form>
						Result:
						<textarea cols="105" rows="15" name="contentResult" readonly="readonly">${contentResult!''}</textarea>
                    </div>
                </div>
                <!--/span10 -->
                <#include "/template/tool/tool_right.ftl">
                <!--/.span4 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /container -->
		<#include "/template/common/tail.ftl">
    </body>
    <!-- end of body -->
	<script>
		function doSubmit(action){
			document.getElementById("action").value=action;
			document.getElementById("form1").submit();
		}
	</script>
</html>